@font-face {
  font-family: "Monaco";
  src: url('../assets/Monaco.woff2') format('woff');
}

.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

.clear-fix {
  clear: both;
}

.container {
  box-sizing: border-box;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 10px;
}

.content {
  padding: 15px 10px;
}

.v-form-item {
  .label {
    color: rgba(0, 0, 0, .54);
    font-size: 16px;
    margin-bottom: 5px;
  }

  &.has-error {
    .label {
      color: $error-color;
      animation: shake .6s cubic-bezier(.25, .8, .5, 1);
    }
  }

  .error-wrapper {
    margin-top: 4px;
    min-height: 18px;
  }

  .error-message {
    font-size: 12px;
    color: $error-color;
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
    height: 18px;
  }
}

.text-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.page-desc {
  text-align: center;
  color: $non-important-color;
  margin: 10px 0;
  font-size: 16px;
  font-weight: 900;
}

.application {
  background-color: #eee !important;
}

.markdown-body {
  code {
    font-family: Monaco !important;
    box-shadow: none;
    color: inherit;
    font-weight: inherit;
    white-space: inherit;
  }

  .hljs {
    code {
      font-size: 100%;
    }
  }

  /*有id的a标签应该是锚点，加一个padding，避免顶部固定状态栏遮拦*/
  a[id] {
    display: block;
    height: 60px;
    margin-top: -60px;
    visibility: hidden;
    float: left;
  }
}

.v-note-wrapper {
  z-index: 1 !important;

  &.fullscreen {
    z-index: 9999 !important;;
  }
}

.device-mobile {
  .content {
    padding: 10px 4px;
  }
}
